<?php
include '../include/common.inc.php';
$adminhelp=new Adminhelp();
if(!$q=$adminhelp->mcheckol()){
    header("Location:".$C['SITE_URL']."/admin/login.php");    
    exit;
}
$adminhelp->mupdatesession();
$admininfo=$db->fetch_first("select * from adminid where adminid={$q["adminid"]}");
$tpl->assign("admininfo",$admininfo);
$tpl->assign("configs",$C);
$tpl->display("admin/index.html");
